<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div style="margin-bottom: 15px;" class="pane" id="contents">
    <div class="pane form-signup">
        <h2 class="title">注册账号（免费）</h2>
        <form:form modelAttribute="user" method="post" action="${pageContext.request.contextPath}/users" 
                   class="login-form" enctype="multipart/form-data">
            <input type="hidden" value="" name="return_to">
            <fieldset>
                <c:if test="${!empty message}">
                    <div class="error-guide">
                        <div class="_error_guide">
                            <span class="error">${message}</span>
                        </div>
                    </div>
                </c:if>
                <label for="pixiv_id">邮箱地址</label>
                <form:errors path="email" cssClass="error" />
                <form:input path="email"
                            type="text" autofocus="" 
                            value="" 
                            maxlength="255" 
                            class="form-login-input"
                            placeholder="mail@example.com" />
                <label for="pass">密码</label>
                <form:errors path="password" cssClass="error" />
                <form:password value="" path="password" maxlength="32" 
                               class="form-login-input" />
                <button value="注册" type="submit" style="font-size:18px; margin:10px 0;padding:4px 50px;" id="login_submit">
                    注册
                </button>
            </fieldset>
        </form:form>
    </div><!-- /form-signup -->

    <div id="registerRow">

        <div class="note">
            <h1>“一个能让你更加享受衣着所带来的乐趣的地方”</h1>
            <h2>Dressing Social正以此为目标。</h2>
            <p>如果你感兴趣，不妨注册一下吧！<br>注册和使用Dressing Social是完全免费的。</p>
        </div>

    </div>
</div>
<!-- /#contents -->

